package cz.cvut.fit.mi_paa.abs;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: milos
 * Date: 20.11.12
 * Time: 0:52
 * To change this template use File | Settings | File Templates.
 */
public abstract class Strategy {
    protected Context context;
    protected String[] args;

    protected Strategy(Context context) {
        this.context = context;
    }

    public abstract void solve() throws IOException, CloneNotSupportedException;
    public abstract void writeResult() throws IOException;

    public String[] getArgs() {
        return args;
    }

    public void setArgs(String[] args) {
        this.args = args;
    }
}
